<?php /*
 * @see eve_ranked_member_list()
 * @see template_preprocess_eve_ranked_member_list(&$summary)
 */ 
print "<ul class='eve_ranked_member_list'>";
foreach ($ranks as $rank) {
	if ((count($rank['members']) > 0) || (!$omit_empty)) {
		$displayed_rank_count += 1;
		print "<li class='eve_rank'><div class='eve_rank_title'>";
		$suffix = "";
		if (($rank['wiki_url'] != null) && ('' != trim($rank['wiki_url']))) {
			print "<a href='" . $rank['wiki_url'] . "'>";
			$suffix = "</a>";
		}
		if (($rank['rank_image'] != null) && ('' != trim($rank['rank_image']))) {
			print "<img src='" . $rank['rank_image'] . "/>";
		}
		print $rank['rank_name'];
		print $suffix;
		print "</div><ul>\n";
		foreach ($rank['members'] as $member) {
			print "\t</li class='eve_ranked_member'>";
			print theme('eve_ranked_member', $member);
			print "</li>\n";
		}
		print "</ul>\n</li>";
	}
}
print "</ul>\n";
?>